
.header {
	background: #f5f5f5;
}

.header-inner {
	width: 760px;
	position: relative;
	margin: 0 auto;
	margin-bottom: 80px;
	padding: 40px 0;
}

.header-inner:before,
.header-inner:after {
	content: "";
	display: table;
}

.header-inner:after {
	clear: both;
}

.site-meta {
	float: left;
	margin-left: -20px;
	margin: 0;
	text-align: left;
}

.site-meta .brand {
	padding: 2px 1px;
	background: none;
}

.brand {
	position: relative;
	display: inline-block;
	color: #222;
	border-bottom: none;
}

.logo-line-before,
.logo-line-after {
	display: block;
	overflow: hidden;
	margin: 0 auto;
	width: 75%;
}

.site-meta .site-title {
	font-size: 22px;
	font-weight: bolder;
	display: inline-block;
	vertical-align: top;
	line-height: 36px;
}

.logo-line-before i,
.logo-line-after i {
	position: relative;
	display: block;
	height: 2px;
	background: #222;
	font-style: italic;
}

.site-subtitle {
	display: none;
	margin-top: 10px;
	font-size: 13px;
	color: #999;
}

.menu {
	margin: 8px 0 0 20px;
	padding: 0 20px;
	text-align: center;
	float: left;
}

.menu-item {
	display: inline-block;
	margin: 0;
}

.menu-item a {
	padding: 5px 10px;
	background: none;
	border: none;
	display: block;
	font-size: 13px;
	text-transform: capitalize;
	/*将每个单词第一个字母转换成大写*/
	line-height: 1.5;
	transition-property: background;
	transition-duration: 0.2s;
	transition-timing-function: ease-in-out;
	transition-delay: 0s;
	color: #555;
	text-decoration: none
}

.site-nav {
	display: block;
}

.menu .menu-item a:hover {
	background: #e1e1e1;
}

.site-search {
	margin-top: 8px;
	float: right;
}

.site-search input {
	padding: 3px;
	border: none;
	border-radius: 0;
	width: 110px;
	background: #f5f5f5;
	outline: none;
	border-bottom: 1px solid #999;
	opacity: 0.5;
}

.site-search input:focus {
	opacity: 1;
}

.site-search .fa-search {
	cursor: pointer;
}

.site-nav-toggle {
	display: none;
	position: static;
	float: right;
}

.site-nav-toggle button {
	margin-top: 2px;
	padding: 9px 10px;
	background: transparent;
	border: none;
	cursor: pointer;
}

.btn-bar {
	display: block;
	width: 22px;
	height: 2px;
	background: #555;
	border-radius: 1px;
	text-shadow: none;
}

.btn-bar+.btn-bar {
	margin-top: 4px;
}

.footer {
	margin-top: 80px;
	padding: 10px 0;
	background: #F5F5F5;
	color: #666666;
	font-size: 14px;
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	min-height: 50px;
	text-align: left;
}
.footer-inner{
	position: relative;
    width: 760px;
    margin: 0 auto;
}
.back-to-top {
	position: fixed;/**/
	bottom: 19px;
	right: 50px;
	z-index: 1050;
	width: 15px;
	height: 13px;
	padding: 5px;
	background: #222;
	color: #fff;
	cursor: pointer;
}

.back-to-top:before {
	display: block;
	content: " ";
	margin-top: 2px;
	width: 0;
	height: 0;
	border-width: 0 7px 8px 7px;
	border-color: transparent transparent #fff transparent;
	border-style: solid;
}


/*sidebar*/

.sidebar-toggle {
	position: fixed;/**/
	right: 50px;
	bottom: 45px;
	width: 15px;
	height: 15px;
	padding: 5px;
	background: #222;
	line-height: 0;
	z-index: 1050;
	cursor: pointer;
}

.sidebar-toggle-line {
	position: relative;
	display: inline-block;
	vertical-align: top;
	height: 2px;
	width: 100%;
	background: #87daff;
	margin-top: 3px;
	width: 100%;
	opacity: 1;
	left: 0px;
	top: 0px;
	transition-property: left top;
	transition-duration: 0.4s;
}

.sidebar-toggle-line:first-child {
	margin-top: 0;
}

.sidebar {
	width: 0;
	position: fixed;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: 1040;
	box-shadow: inset 0 2px 6px #000;
	background: #222;
	display: block;
	transition-property: width;
	transition-duration: 0.4s;
}

.sidebar a {
	color: #999;
	border-bottom-color: #555;
}

.sidebar-active {
	width: 320px;
}

.sidebar-inner {
	position: relative;
	padding: 20px 10px;
	color: #999;
	text-align: center;
}

@keyframes fadeIn {
	0% {
		opacity: 0;
		transform: translateX(50px);
	}
	100% {
		opacity: 1;
		transform: translateX(0px);
	}
}

.fade {
	-webkit-animation: fadeIn 2s;
	animation: fadeIn;
	animation-duration: 1.5s;
}


/*TODO*/

.motion-element {
	display: block;
}

.site-author-image {
	display: block;
	margin: 0 auto;
	max-width: 96px;
	height: auto;
	border: 2px solid #333;
	padding: 2px;
}

.site-author-name {
	font-size: 13px;
	margin: 5px 0 0;
	color: #f5f5f5;
}

.site-description {
	margin-top: 5px;
	margin-bottom: 20px;
	font-size: 14px;
	color: #555;
}

.site-state {
	overflow: hidden;
	line-height: 1.4;
}

.site-state-item {
	display: inline-block;
	padding: 0 15px;
	border-left: 1px solid #333;
}

.site-state-item:first-child :hover,
.site-state-item:last-child :hover {
	color: #fff;
}

.site-state-item:first-child {
	border-left: none;
}

.site-state-item-count {
	display: block;
	text-align: center;
	font-size: 18px;
}

.site-state-item-name {
	font-size: 13px;
}

.feed-link {
	margin-top: 20px;
}

.feed-link a {
	display: inline-block;
	padding: 0 15px;
	color: #fc6423;
	border: 1px solid #fc6423;
	border-radius: 4px;
}

.feed-link a i {
	color: #fc6423;
}

.feed-link a:hover,
.feed-link a:hover i {
	color: #fff;
	background: #fc6423;
}

.links-of-outer {
	margin-top: 20px;
}

.links-of-outer a {
	display: inline-block;
	vertical-align: middle;
	margin-right: 10px;
	margin-bottom: 10px;
	border-bottom-color: #555;
	font-size: 13px;
}

.links-of-outer-item a:hover {
	color: #fff;
}